package com.boot.security.controller;

import com.boot.persistence.controller.ControllerImpl;
import com.boot.security.model.po.Resource;
import com.boot.security.service.database.ResourceService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Validator;

/**
 * @author 霜寒 <1621856595@qq.com>
 * @date 2020/04/02 20:25
 **/

@RestController
@RequestMapping("/resource")
@Api("资源接口")
public class ResourceController extends ControllerImpl<Long, Resource, ResourceService> {

    public ResourceController(ResourceService service, Validator validator) {
        super(service, validator);
    }
}
